import { request, config } from 'utils';
import { stringify } from 'qs';
const {
  api: {
    recursivemgt: {
      transpond: {
        apigetalldevices
      }
    },
    datacenter: { apigetcurrentqps, apigetallqps },
  },
} = config;

export function getCurrentQps(params) {
  return request(`${apigetcurrentqps}?${stringify(params)}`);
}

export function getAllQps(params) {
  return request(`${apigetallqps}?${stringify(params)}`);
}
export function getAllDevices(params) {
  return request(`${apigetalldevices}?${stringify(params)}`);
}


